home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / lib / gcc-lib / i486-unknown-sco3.2v5.0.0elf / 2.6-95q2 / include / oldstyle / unistd.h < prev   
Encoding:
C/C++ Source or Header  |  1995-07-12  |  5.5 KB  |  162 lines

  1. /*
  2.  *   Copyright (C) The Santa Cruz Operation, Inc., 1988-1995
  3.  *        All Rights Reserved.
  4.  *
  5.  *    The information in this file is provided for the exclusive use of
  6.  *    the licensees of The Santa Cruz Operation, Inc.  Such users have the
  7.  *    right to use, modify, and incorporate this code into other products
  8.  *    for purposes authorized by the license agreement provided they include
  9.  *    this notice and the associated copyright notice with any such product.
  10.  *    The information in this file is provided "AS IS" without warranty.
  11.  */
  12.  
  13. /*    Portions Copyright (c) 1990, 1991, 1992, 1993 UNIX System Laboratories, Inc. */
  14. /*    Portions Copyright (c) 1979 - 1990 AT&T   */
  15. /*      All Rights Reserved   */
  16.  
  17. /*    THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF          */
  18. /*    UNIX System Laboratories, Inc.                          */
  19. /*    The copyright notice above does not evidence any        */
  20. /*    actual or intended publication of such source code.     */
  21.  
  22. #ifndef _UNISTD_H
  23. #ifndef _PARAMS
  24. #if defined(__STDC__) || defined(__cplusplus)
  25. #define _PARAMS(ARGS) ARGS
  26. #else
  27. #define _PARAMS(ARGS) ()
  28. #endif
  29. #endif /* _PARAMS */
  30. #define _UNISTD_H
  31.  
  32. #ident "oldstyle @(#) unistd.h 20.1 94/12/04 "
  33.  
  34.  
  35. #include <sys/types.h>
  36. #include <sys/unistd.h>
  37.  
  38.  
  39. #ifdef _EFF_SUPPORT
  40. #define EFF_ONLY_OK     010    /* Test using effective ids  */
  41. #endif
  42.  
  43. #ifdef _VERY_STRANGE
  44. #define EX_OK        020    /* Test for Regular, executable file  */
  45. #endif
  46.  
  47.  
  48. #ifndef NULL
  49. #define NULL    0
  50. #endif /* NULL */
  51.  
  52.  
  53. extern int    access _PARAMS((const char *, int));
  54. extern unsigned    alarm _PARAMS((unsigned int));
  55. extern int    chdir _PARAMS((const char *));
  56. extern int    chown _PARAMS((const char *, unsigned short , unsigned short ));
  57. extern int    close _PARAMS((int));
  58. extern char    *cuserid _PARAMS((char *));
  59. extern int    dup _PARAMS((int));
  60. extern int    dup2 _PARAMS((int, int));
  61. extern int    execl _PARAMS((const char *, const char *, ...));
  62. extern int    execle _PARAMS((const char *, const char *, ...));
  63. extern int    execlp _PARAMS((const char *, const char *, ...));
  64. extern int    execv _PARAMS((const char *, char *const *));
  65. extern int    execve _PARAMS((const char *, char *const *, char *const *));
  66. extern int    execvp _PARAMS((const char *, char *const *));
  67. extern void    _exit _PARAMS((int));
  68. extern pid_t    fork();
  69. extern long    fpathconf _PARAMS((int, int));
  70. extern char    *getcwd _PARAMS((char *, __SIZE_TYPE__ ));
  71. extern gid_t    getegid();
  72. extern uid_t    geteuid();
  73. extern gid_t    getgid();
  74. extern int    getgroups _PARAMS((int, unsigned short *));
  75. extern char    *getlogin();
  76. extern pid_t    getpgrp();
  77. extern pid_t    getpid();
  78. extern pid_t    getppid();
  79. extern uid_t    getuid();
  80. extern int    isatty _PARAMS((int));
  81. extern int    link _PARAMS((const char *, const char *));
  82. extern off_t    lseek _PARAMS((int, long , int));
  83. extern long    pathconf _PARAMS((const char *, int));
  84. extern int    pause();
  85. extern int    pipe _PARAMS((int *));
  86. extern int    read _PARAMS((int, void *, __SIZE_TYPE__ ));
  87. extern int    rmdir _PARAMS((const char *));
  88. extern int    setgid _PARAMS((unsigned short ));
  89. extern int    setpgid _PARAMS((short , short ));
  90. extern pid_t    setpgrp();
  91. extern pid_t    setsid();
  92. extern int    setuid _PARAMS((unsigned short ));
  93. extern unsigned    sleep _PARAMS((unsigned int));
  94. extern long    sysconf _PARAMS((int));
  95. extern pid_t    tcgetpgrp _PARAMS((int));
  96. extern char    *ttyname _PARAMS((int));
  97. extern int    unlink _PARAMS((const char *));
  98. extern int    write _PARAMS((int, const void *, __SIZE_TYPE__ ));
  99.  
  100.  
  101. extern size_t    confstr();
  102. extern int    getopt _PARAMS((int, char *const *, const char *));
  103. extern char    *optarg;
  104. extern int    optind, opterr, optopt;
  105.  
  106.  
  107.  
  108. extern int    chroot _PARAMS((const char *));
  109. extern char    *crypt _PARAMS((const char *, const char *));
  110. extern char    *ctermid _PARAMS((char *));        /* REALLY OKAY HERE?  */
  111. extern void    encrypt _PARAMS((char *, int));
  112. extern int    fsync _PARAMS((int));
  113. extern char    *getpass _PARAMS((const char *));
  114. extern int    nice _PARAMS((int));
  115. extern void    swab _PARAMS((const char *, char *, int));
  116.  
  117.  
  118.  
  119. extern int    acct _PARAMS((const char *));
  120. extern int    brk _PARAMS((void *));
  121. extern int    eaccess _PARAMS((const char *, int));
  122. extern void    exit _PARAMS((int));
  123. extern int    fattach _PARAMS((int, const char *));
  124. extern int    fchdir _PARAMS((int));
  125. extern int    fchown _PARAMS((int, unsigned short , unsigned short ));
  126. extern int    fdetach _PARAMS((const char *));
  127. extern int    ftruncate _PARAMS((int, long ));
  128. extern int    getdtablesize();
  129. extern long    gethostid();
  130. extern int    gethostname _PARAMS((char *, int));
  131. extern char    *getlogin_r();
  132. extern int    getpagesize();
  133. extern char    *getpass_r();
  134. extern int    getpgid _PARAMS((short ));
  135. extern int    getsid _PARAMS((short ));
  136. extern char    *gettxt _PARAMS((const char *, const char *));
  137. extern char    *getwd _PARAMS((char *));
  138. extern int    ioctl _PARAMS((int, int, ...));
  139. extern int    lchown _PARAMS((const char *, unsigned short , unsigned short ));
  140. extern int    lockf _PARAMS((int, int, long int));
  141. extern void    profil _PARAMS((short unsigned int *, __SIZE_TYPE__ , int, unsigned int));
  142. extern int    ptrace _PARAMS((int, short , int, int));
  143. extern int    readlink _PARAMS((const char *, void *, int));
  144. extern int    rename _PARAMS((const char *, const char *));
  145. extern char    *sbrk _PARAMS((int));
  146. extern int    setgroups _PARAMS((int, const unsigned short *));
  147. extern int    setregid _PARAMS((unsigned short , unsigned short ));
  148. extern int    setreuid _PARAMS((unsigned short , unsigned short ));
  149. extern int    stime _PARAMS((const long *));
  150. extern int    symlink _PARAMS((const char *, const char *));
  151. extern void    sync();
  152. extern int    truncate _PARAMS((const char *, long ));
  153. extern char    *ttyname_r();
  154. extern unsigned int    ualarm _PARAMS((unsigned, unsigned));
  155. extern int    usleep _PARAMS((unsigned));
  156. extern int    vfork();
  157.  
  158.  
  159.  
  160.  
  161. #endif /* _UNISTD_H */
  162.